package org.jeecg.modules.analysisachievement.achstudent.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.analysisachievement.achstudent.mapper.AchStudentSubjectScoreMapper;
import org.jeecg.modules.analysisachievement.achstudent.vo.AchStudentSubjProjItemScoreVo;
import org.jeecg.modules.analysisachievement.achstudent.mapper.AchStudentSubjProjItemScoreMapper;
import org.jeecg.modules.analysisachievement.achstudent.service.IAchStudentSubjProjItemScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 学生分项成绩明细v_ach_student_subj_proj_item_score
 * @author: baochangrong
 * @Date:   2022-03-22
 * @Version: V1.0
 */
@Service
public class AchStudentSubjProjItemScoreServiceImpl extends ServiceImpl<AchStudentSubjProjItemScoreMapper, AchStudentSubjProjItemScoreVo> implements IAchStudentSubjProjItemScoreService {
    @Autowired
    AchStudentSubjProjItemScoreMapper achStudentSubjProjItemScoreMapper;

    @Override
    public IPage<AchStudentSubjProjItemScoreVo> queryAchStudentSubjProjItemScoreVoLists(AchStudentSubjProjItemScoreVo achStudentSubjProjItemScoreVo, Map<String,String> queryParam, Page<AchStudentSubjProjItemScoreVo> page){
        //获取该租户下所有数据
        List<AchStudentSubjProjItemScoreVo> achStudentSubjProjItemScoreVoList = achStudentSubjProjItemScoreMapper.queryAchStudentSubjProjItemScoreVoLists(achStudentSubjProjItemScoreVo,queryParam);
        return page.setRecords(achStudentSubjProjItemScoreVoList);
    }
}
